package com.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 【请填写功能名称】对象 video
 * 
 * @author ruoyi
 * @date 2022-03-31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain=true)
//video视频
public class Video
{
    private static final long serialVersionUID = 1L;

    /** 视频id */
    private Long videoId;

    /** 视频标题 */
    private String videoTitle;

    /** 视频分区id */
    private Long videoZoneId;

    /** 视频类型 */
    private Long videoVideotype;

    /** 1 */
    private Long videoIsreprint;

    /** 转载地址 */
    private String videoReprintsite;

    /** 视频路径 */
    private String videoUrl;

    /** 视频发布用户id */
    private Long videoUserId;

    /** 视频推荐文字 */
    private String videoSuggest;

    /** 视频状态 */
    private Long videoState;

    /** 视频封面图片路径 */
    private String videoCover;

    /** 视频在线数 */
    private Long videoOnline;

    /** 视频发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GBK+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date videoCreatetime;

    /** 视频时长 */
    private Long videoLength;

    //user对象
    private User user;
    //视频清晰度对象
    private List<VideoSharpness> videoSharpnesses;
    //小分区对象
    private Smallzone smallzone;
    //标签对象
    private List<VideoTag> videoTags;
    //弹幕对象
    private List<Barrage> barrages;
    //collect_video(收藏视频)
    private List<CollectVideo> collectVideo;
    //大分区对象
    private Integer bid;
    private List<Comment> comments;
    private List<NiceVideo> niceVideos;//点赞数
    //评论对象
   // private Comment comment;
    //下架对象
    private List<Check> check;
}
